package com.example.jianbing;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * @ClassName : zxc
 * @Description :
 * @Author : JB
 * @Date: 2021-01-25 09:06
 */


public class zxc extends  Person {

    int age;
    String name;

    public zxc(String name){
        super(name);
        this.name = name;
        System.out.println();
    }
    public zxc(int age,String name){
        super(name);
        this.age = age;
        this.name = name ;

    }


    @Override
    public void  say(){
        System.out.println("say..."+"姓名："+name+" 年龄："+age);
    }




    public static void main(String[] args) {
//        zxc z = new zxc("zxc");
//        z.say();
//        zxc z1 = new zxc(23,"zxc");
//        z1.say();




    }
}
